package cn.ds.assets.module.assets.convert.metadataModelBusiness;

import java.util.*;

import cn.ds.assets.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ds.assets.module.assets.controller.admin.metadataModelBusiness.vo.*;
import cn.ds.assets.module.assets.dal.dataobject.metadataModelBusiness.BaseMetadataModelBusinessDO;

/**
 * 元数据管理-元模型-业务属性 Convert
 *
 * @author admin
 */
@Mapper
public interface BaseMetadataModelBusinessConvert {

    BaseMetadataModelBusinessConvert INSTANCE = Mappers.getMapper(BaseMetadataModelBusinessConvert.class);

    BaseMetadataModelBusinessDO convert(BaseMetadataModelBusinessCreateReqVO bean);

    BaseMetadataModelBusinessDO convert(BaseMetadataModelBusinessUpdateReqVO bean);

    BaseMetadataModelBusinessRespVO convert(BaseMetadataModelBusinessDO bean);

    List<BaseMetadataModelBusinessRespVO> convertList(List<BaseMetadataModelBusinessDO> list);

    PageResult<BaseMetadataModelBusinessRespVO> convertPage(PageResult<BaseMetadataModelBusinessDO> page);

    List<BaseMetadataModelBusinessExcelVO> convertList02(List<BaseMetadataModelBusinessDO> list);

}
